package com.ruoyi.mining.domain;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.ToString;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 课消信息对象 mn_course_consumption
 *
 * @author liyuxi
 * @date 2024-04-10
 */
@ToString
@Data
public class CourseConsumption{
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    private Long id;

    /**
     * 学生id
     */
    @Excel(name = "学生id")
    private Long studentId;

    /**
     * 课程id
     */
    @Excel(name = "课程id")
    private Long courseId;

    /**
     * 上课时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "上课时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date clazzTime;

    /**
     * 教师反馈
     */
    @Excel(name = "教师反馈")
    private String teacherFeedback;

    /**
     * 家长反馈
     */
    @Excel(name = "家长反馈")
    private String parentFeedback;

    /**
     * 总课时
     */
    @Excel(name = "备注")
    private String remark;

    /**
     * 剩余课时
     */
    @Excel(name = "剩余课时")
    private Integer remainingHours;
    @TableField("ORG_CODE")
    private String orgCode;
}
